package io.github.lee.repository.jel.dao

import androidx.room.Dao
import androidx.room.Query
import io.github.lee.core.dao.BaseRoomDao
import io.github.lee.repository.jel.data.Session

@Dao
interface SessionDao : BaseRoomDao<Session> {

    @Query("SELECT * FROM Session ORDER BY update_time DESC")
    fun current(): Session?
}